package com.example.pandaso.mapper;

import com.example.pandaso.pojo.TopWeb;
import net.sf.jsqlparser.statement.select.Top;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface TopWebDao {

    public List<TopWeb> listAll();

    public TopWeb getByURL(String url);

    public boolean saveTopWeb(TopWeb topWeb);

    public boolean starClick(int topWebId);
}
